FROM node:22.11.0-alpine3.19
LABEL authors="skean"
WORKDIR /app
COPY . .

RUN npm install
RUN npm run build

ENV ACCESS_KEY_ID=""
ENV ACCESS_KEY_SECRET=""
ENV ALIDNS_DOMAIN=""
ENV INTERVAL=2
EXPOSE 16602

ENTRYPOINT ["npm","run", "start"]